.info-mormal {
    background: rgba(255, 255, 0, .6);
}

.info-important {
    background: rgba(255, 165, 0, .6);
}

.info-urgent {
    background: rgba(255, 0, 0, .6);
}

main {
    & > div {
        display: flex;
        flex-wrap: wrap;
        margin: 24px 12px;
        position: relative;
        &.main-1 {
            & > div {
                position: relative;
                margin: 12px;
                padding: 12px;
                flex: 500px 1;
                display: flex;
                flex-direction: column;
                background: rgba(245, 245, 245, .1);
                border: 1px solid rgba(0,0,0,.1);
                & > nav {
                    height: 20px;
                    width: 20px;
                    position: absolute;
                    top: 0;
                    left: 0;
                    background: #40a3d1;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    color: #ffffff;
                    border-bottom-right-radius: 10px;
                }
                & > p {
                    text-align: right;
                    & > a {
                        color: rgb(51,62,72);
                        font-weight: 800;
                        &:hover {
                            color: #f79568;
                        }
                    }
                }
                & > h2 {
                    padding: 10px;
                    color: rgb(51,62,72);
                    border-bottom: 3px solid rgb(229,236,235);
                }
                & > div {
                    padding: 10px;
                    flex: 1;
                    & > article {
                        margin: 8px 0;
                        padding-bottom: 8px;
                        border-bottom: 1px solid rgba(64,163,209,.3);
                        display: flex;
                        align-items: center;
                        &::before {
                            content: '>>>';
                            color: #40a3d1;
                            margin-right: 12px;
                        }
                        & > a {
                            flex: 1;
                            color: rgb(51,62,72);
                            overflow: hidden;
                            text-overflow: ellipsis;
                            padding-right: 12px;
                            word-break: break-all;
                            font-weight: 800;
                            &:hover {
                                color: #40a3d1;
                            }
                        }
                        & > span {
                        }
                        &:last-of-type {
                            border: none;
                        }
                    }
                }
                &.good-title {
                    & > h2 {
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        & > span{
                            color: goldenrod;
                            &::before {
                                content: '#';
                                margin-right: 12px;
                                color: #f79568;
                                font-size: 800;
                            }
                        }
                        & > form {
                            display: flex;
                            justify-content: space-between;
                            align-items: center;
                            & > input {
                                border: 1px black solid;
                                height: 30px;
                                padding: 3px;
                                padding-left: 6px;
                                border-top-left-radius: 5px;
                                border-bottom-left-radius: 5px;
                                font-size: 16px;
                                &::placeholder {
                                    font-weight: 100;
                                }
                                &:focus {
                                    &::placeholder {
                                        font-weight: 800;
                                    }
                                }
                            }
                            & > button {
                                height: 30px;
                                background: #40a3d1;
                                padding: 3px 6px;
                                border-top-right-radius: 5px;
                                border-bottom-right-radius: 5px;
                                color: #ffffff;
                                &:hover {
                                    cursor: pointer;
                                }
                            }
                        }
                    }
                } 
                &.recent {
                    & > h2 {
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        & > span:first-of-type::before {
                            content: '#';
                            margin-right: 12px;
                            color: #f79568;
                            font-weight: 800;
                        }
                        & > span:last-of-type {
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            & > button {
                                color: #40a3d1;
                                font-size: 15px;
                                margin: 0 5px;
                                &:hover {
                                    cursor: pointer;
                                    color: #f79568;
                                    font-weight: 800;
                                }
                                &:last-of-type {
                                    color: #f79568;
                                    font-weight: 800;
                                }
                            }
                        }
                    }
                } 
            }
        }
        &.main-2 {
            & > div {
                position: relative;
                margin: 12px;
                padding: 12px;
                flex: 500px 1;
                display: flex;
                flex-direction: column;
                background: rgba(245, 245, 245, .1);
                border: 1px solid rgba(0,0,0,.1);
                & > nav {
                    height: 20px;
                    width: 20px;
                    position: absolute;
                    top: 0;
                    left: 0;
                    background: #40a3d1;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    color: #ffffff;
                    border-bottom-right-radius: 10px;
                }
                & > p {
                    text-align: right;
                    & > a {
                        color: rgb(51,62,72);
                        font-weight: 800;
                        &:hover {
                            color: #f79568;
                        }
                    }
                }
                & > h2 {
                    padding: 10px;
                    color: rgb(51,62,72);
                    border-bottom: 3px solid rgb(229,236,235);
                }
                & > div {
                    padding: 10px;
                }
                & > section {
                    flex: 1;
                }
                &.plugin-docs {
                    & > h2 {
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        & > span::before {
                            content: '#';
                            margin-right: 12px;
                            color: #f79568;
                            font-size: 800;
                        }
                        & > a {
                            font-size: 16px;
                            color: #40a3d1;
                            &:hover {
                                color: #f79568;
                            }
                        }
                    }
                    & > div {
                        display: flex;
                        flex-wrap: wrap;
                        & > a {
                            margin: 6px 12px;
                            padding: 6px;
                            border-radius: 5px;
                            background: rgb(51,62,72);
                            border: 1px solid rgba(0,0,0,.2);
                            color: #ffffff;
                            &:hover {
                                border: 1px solid rgba(0,0,0,.2);
                                background: inherit;
                                color: rgb(51,62,72);
                            }
                        }
                    }
                }
                &.notices {
                    & > h2 {
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        & > span:first-of-type {
                            &::before {
                                content: '#';
                                margin-right: 12px;
                                color: #f79568;
                                font-size: 800;
                            }
                            &::after {
                                content: '（仅显示最新的3条公告）';
                                font-size: 12px;
                                margin-left: 12px;
                            }
                        }
                        & > span:last-of-type {
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            & > button {
                                color: #40a3d1;
                                font-size: 15px;
                                margin: 0 5px;
                                &:hover {
                                    cursor: pointer;
                                    color: #f79568;
                                    font-weight: 800;
                                }
                                &:last-of-type {
                                    color: #f79568;
                                    font-weight: 800;
                                }
                            }
                        }
                    }
                    & > div {
                        & > div {
                            margin: 6px 0;
                            padding: 6px 0;
                            display: flex;
                            justify-content: space-between;
                            align-items: center;
                            border-bottom: 1px solid rgba(64,163,209,.3);
                            & > div {
                                flex: 1;
                                margin: 2px 0;
                                display: flex;
                                align-items: center;
                                overflow:hidden;
                                & > span {
                                    margin-right: 12px;
                                    padding: 3px;
                                    font-size: 14px;
                                    border-radius: 5px;
                                    font-weight: 800;
                                    border: rgba(0,0,0,.2) 1px solid;
                                }
                                & > a {
                                    flex: 1;
                                    overflow: hidden;
                                    text-overflow: ellipsis;
                                    word-break:break-all;
                                    padding-right: 12px;
                                    font-weight: 800;
                                    &:hover {
                                        cursor: pointer;
                                        color: #f79568;
                                    }
                                }
                            }
                            & > span {

                            }
                            &:last-of-type {
                                border-bottom: none;
                            }
                        }
                    }
                }
            }
        }
    }
}

div.notice-show {
    position: fixed;
    top: 70px;
    left: 0;
    z-index: 100;
    background: rgba(0,0,0,.9);
    width: 100vw;
    height: 100vh;
    display: none;
    justify-content: center;
    & > article {
        margin-top: 36px;
        height: 300px;
        width: 400px;
        color: #ffffff;
        & > h3 {
            font-size: 36px;
            padding: 12px 0;
            margin: 12px 0;
            margin-bottom: 36px;
            border-bottom: 3px solid yellow;
        }
        & > p {
            text-indent: 2em;
            line-height: 1.8;
            font-size: 18px;
            word-break: break-all;
            &:last-of-type {
                color: yellow;
                text-align: right;
                margin-top: 55px;
            }
        }
    }
}
